.container{
    height: 100%;
    width: 100%;
}
.container,.buts, .end{

    display: flex;
    flex-direction: column;
    position: relative;

}
.game-container{
    width: 100%;
    height: 540px;
    position: relative;
    background-color: #85ce61;

}
.snake-head{
    height: 20px;
    width: 20px;
    position: absolute;
    border-radius: 10px;
    background-color: red;
}
.snake-body{
    height: 20px;
    width: 20px;
    position: absolute;
    border-radius: 10px;
    background-color: white;

}
.food{
    height: 20px;
    width: 20px;
    position: absolute;
    border-radius: 10px;
    background-color: black;
}
.center{
    display: flex;
    justify-content:center;
    height: 50px;
    margin:2px 0;
}
.but{
    width: 50px;
    border-radius: 5px;
    font-weight: 700;
    margin: 0 2px ;
    background-color: #85ce61;
}
.buts{
    margin-top:10px ;
}
.end{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-25%,-100%);
}
.result{
    position: fixed;
    top: 0;
    left: 260px;
}